package com.guiji.text2video.fastvideo.domain.vo;

import com.guiji.text2video.common.core.annotation.Excel;
import com.guiji.text2video.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * @Description  抓取的图片
 * @Author zxt
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2021/4/9
 */
public class FrameImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片id */
    private Long id;

    /** 路径 */
    @Excel(name = "路径")
    private String path;

    /** sentenceId */
    @Excel(name = "sentenceId")
    private Long sid;

    /** 持续时间， 保留字段 */
    @Excel(name = "持续时间， 保留字段")
    private String duration;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPath(String path)
    {
        this.path = path;
    }

    public String getPath()
    {
        return path;
    }
    public void setSid(Long sid)
    {
        this.sid = sid;
    }

    public Long getSid()
    {
        return sid;
    }
    public void setDuration(String duration)
    {
        this.duration = duration;
    }

    public String getDuration()
    {
        return duration;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("path", getPath())
                .append("sid", getSid())
                .append("duration", getDuration())
                .toString();
    }
}
